package com.lzx.dormsys.service;

import java.util.List;
import com.lzx.dormsys.bean.DoorBean;

/**
 * doorService接口
 * 
 * @author lzx
 * @date 2021-09-10
 */
public interface IDoorBeanService 
{
    /**
     * 查询door
     * 
     * @param doorId doorID
     * @return door
     */
    public DoorBean selectDoorBeanById(Long doorId);

    /**
     * 查询door列表
     * 
     * @param doorBean door
     * @return door集合
     */
    public List<DoorBean> selectDoorBeanList(DoorBean doorBean);

    /**
     * 新增door
     * 
     * @param doorBean door
     * @return 结果
     */
    public int insertDoorBean(DoorBean doorBean);

    /**
     * 修改door
     * 
     * @param doorBean door
     * @return 结果
     */
    public int updateDoorBean(DoorBean doorBean);

    /**
     * 批量删除door
     * 
     * @param doorIds 需要删除的doorID
     * @return 结果
     */
    public int deleteDoorBeanByIds(Long[] doorIds);

    /**
     * 删除door信息
     * 
     * @param doorId doorID
     * @return 结果
     */
    public int deleteDoorBeanById(Long doorId);
}
